package com.yhsimon.facade;

/**
 * @author： YHSimon
 * @date： 2021-09-03 16:57
 */
public class Popcorn {
    private Popcorn() {
    }

    private final static Popcorn instance = new Popcorn();

    public static Popcorn getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("popcorn on");
    }

    public void off() {
        System.out.println("popcorn off");
    }

    public void pop() {
        System.out.println("popcorn is poping");
    }


}
